class CreateFragments < ActiveRecord::Migration
  def self.up
    create_table :fragments do |t|
      t.integer :job_id
      t.boolean :selected
      t.integer :fragment
      t.integer :peaknum
      t.float :peakmass
      t.float :mass
      t.float :massdiff
      t.string :formula
      t.string :atombits
      t.integer :rank
      t.float :score
      t.integer :bb
      t.integer :bbh
      t.integer :bbs
      t.integer :abb
      t.integer :sbb
      t.integer :swd
      t.boolean :rr

      t.timestamps
    end
  end

  def self.down
    drop_table :fragments
  end
end
